<template>
  <div id="app">
    <router-view />
    <van-tabbar v-model="active" placeholder>
      <van-tabbar-item to="/" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item to="/find" icon="search">搜索</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data () {
    return {
      active: 0
    }
  }
}
</script>
<style lang="less">
.van-tabbar-item--active {
  color: #d43c33;
}
</style>
